package top.tangyh.lamp.care.vo.save;

import io.swagger.v3.oas.annotations.media.Schema;
import jakarta.validation.constraints.NotEmpty;
import jakarta.validation.constraints.NotNull;
import jakarta.validation.constraints.Size;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;
import lombok.ToString;
import lombok.experimental.Accessors;
import java.io.Serializable;

/**
 * <p>
 * 表单保存方法VO
 * 监护仪设备绑定中间表
 * </p>
 *
 * @author zqb
 * @date 2024-07-15 16:42:41
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@ToString(callSuper = true)
@Accessors(chain = true)
@EqualsAndHashCode
@Builder
@Schema(description = "监护仪设备绑定中间")
public class BDevBindSaveVO implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 病人识别号
     */
    @Schema(description = "病人识别号")
    @NotEmpty(message = "请填写病人识别号")
    @Size(max = 50, message = "病人识别号长度不能超过{max}")
    private String patientIdent;
    /**
     * 设备标识
     */
    @Schema(description = "设备标识")
    @NotEmpty(message = "请填写设备标识")
    @Size(max = 50, message = "设备标识长度不能超过{max}")
    private String devCode;
    /**
     * 绑定时间
     */
    @Schema(description = "绑定时间")
    @NotNull(message = "请填写绑定时间")
    private Long bindTime;



}
